namespace SideShow.Driver.ComInterop
{
    using System;
    using System.Runtime.CompilerServices;
    using System.Runtime.InteropServices;

    [ComImport, InterfaceType((short) 1), TypeLibType((short) 0x200), Guid("244ABE3A-ABBC-43B1-A877-F00077550E6A")]
    public interface IObjectCleanup
    {
        [PreserveSig, MethodImpl(MethodImplOptions.InternalCall, MethodCodeType=MethodCodeType.Runtime)]
        void OnCleanup([In, MarshalAs(UnmanagedType.Interface)] IWDFObject pWdfObject);
    }
}

